package com.crowbar.map.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName events_info
 */
@TableName(value ="events_info")
@Data
public class EventsInfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 事件名，如“韩国总统风波”
     */
    private String eventName;

    /**
     * 起始时间，yyyy-MM-dd
     */
    private Date startDate;

    /**
     * 截止时间，yyyy-MM-dd，可为空
     */
    private Date endDate;

    /**
     * 关键词数组，以逗号分隔
     */
    private String keywords;

    /**
     *
     */
    private Double lat;

    /**
     *
     */
    private Double lng;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Long infoNum = 0L;

    private String country;


}